<?php
include 'DB.php';
$db=DB::getInstance();
$sql="insert into student (name,gender) values (?,?)";
$db->execute($sql,['小明明','女']);
$db->execute($sql,['小星星','男']);
echo "ok";
echo $db->lastInsertId();
